package com.ayf.payment.game.api.dto;

import com.swwx.charm.commons.lang.base.BasicTO;

/**
 * Created by liudong on 29/3/16.
 */
public class Token extends BasicTO {

    private static final long serialVersionUID = 1L;

    private Integer merchantId;

    private String accessToken;

    private Long expiredSeconds;

    private String refreshToken;
    /**
     * 商户类型
     */
    private String merchantType;
    /**
     * 公钥
     */
    private String publicKey;
    private Integer loginId;
    private String loginType;
    private Long   loginOutTime;
    private String reqIp;

    public Long getLoginOutTime() {
        return loginOutTime;
    }

    public void setLoginOutTime(Long loginOutTime) {
        this.loginOutTime = loginOutTime;
    }

    public Integer getLoginId() {
        return loginId;
    }

    public void setLoginId(Integer loginId) {
        this.loginId = loginId;
    }

    public String getLoginType() {
        return loginType;
    }

    public void setLoginType(String loginType) {
        this.loginType = loginType;
    }

    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    public Long getExpiredSeconds() {
        return expiredSeconds;
    }

    public void setExpiredSeconds(Long expiredSeconds) {
        this.expiredSeconds = expiredSeconds;
    }

    public Integer getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Integer merchantId) {
        this.merchantId = merchantId;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getRefreshToken() {
        return refreshToken;
    }

    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }

    public String getMerchantType() {
        return merchantType;
    }

    public void setMerchantType(String merchantType) {
        this.merchantType = merchantType;
    }

    public String getReqIp() {
        return reqIp;
    }

    public void setReqIp(String reqIp) {
        this.reqIp = reqIp;
    }

    @Override
    public String toString() {
        return "Token{" +
                "memberId=" + merchantId +
                ", accessToken='" + accessToken + '\'' +
                ", expiredSeconds=" + expiredSeconds +
                ", refreshToken='" + refreshToken + '\'' +
                ", merchantType='" + merchantType + '\'' +
                ", prPublicKey='" + publicKey + '\'' +
                ", reqIp='" + reqIp + '\'' +
                '}';
    }
}
